package com.corpgovernment.organization.service;

import com.corpgovernment.api.organization.model.org.request.GetUserConfigRequest;
import com.corpgovernment.api.organization.model.org.request.SaveUserConfigRequest;
import com.corpgovernment.api.organization.model.org.response.GetUserConfigResponse;

import java.util.List;

/**
 * 人员配置信息
 * @author xiaoxiaoguo
 */
public interface IUserConfigService {
    /**
     * 保存配置信息
     * @param request
     */
    void saveUserConfig(SaveUserConfigRequest request);

    /**
     * 根据用户id查询配置信息
     * @param request
     * @return
     */
    GetUserConfigResponse getUserConfig(GetUserConfigRequest request);

    /**
     * 删除用户配置
     * @param userIds
     */
    void deleteUserConfig(List<String> userIds);

    /**
     * 根据用户IDs用户查询委托配置
     * @param userIdList
     * @return
     */
    List<GetUserConfigResponse> findUserConfigByUserIds(List<String> userIdList);
}
